package com.sanyu.controller.user;

import com.sanyu.pojo.dto.PositionDTO;
import com.sanyu.pojo.vo.PositionVO;
import com.sanyu.result.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user/position")
@Api("用户APP/位置相关接口")
public class PositionController {

    @GetMapping("/{id}")
    @ApiOperation("根据ID获取位置")
    public Result<PositionVO> detail(@PathVariable Long id){
        return Result.success(new PositionVO());
    }
}
